﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.SqlServerCe.Entity;

    class FoeContext : DbContext
    {

        public FoeContext()
            : base("testCompactDbConnectionString") 
        {
            //Database.SetInitializer<FoeContext>(new CreateDatabaseIfNotExists<FoeContext>());
            //Database.SetInitializer<SchoolDBContext>(new DropCreateDatabaseIfModelChanges<SchoolDBContext>());
            Database.SetInitializer<FoeContext>(new DropCreateDatabaseAlways<FoeContext>());
            //Database.SetInitializer<SchoolDBContext>(new SchoolDBInitializer());
        }

        public DbSet<Good> Goods {get; set;}
        public DbSet<OtherPlayer> Players { get; set; }

    }
